{include file="kuliah/kelas/kelas_js.html"}
<div class="breadcrumbs">
    <div class="container-fluid">
        <ul class="bread pull-left">
            <li><a href="{$config->site_url('kuliah/kelas')}">Perkuliahan</a></li>
            <li><a href="{$config->site_url('kuliah/kelas')}">Kelas</a></li>
            <li class="active"><a href="#">{$makul.makul_nm}</a></li>
        </ul>
    </div>
</div>
<div class="row-fluid">
    <div class="span12">
        <!-- notification template -->
        {include file="base/templates/notification.html"}
        <!-- end of notification template-->
        <div class="box">
            <div class="box-head">
                <h3>{$makul.makul_nm}</h3>
                <div class="actions">
                    <ul>
                        <li>
                            <a href="#" class='btn btn-mini btn-square tip' title="Tambah Kelas" id="tambah-kelas">
                                <img src="{$BASEURL}resource/doc/images/icon/add-icon.png" alt="" height="15"> Tambah Kelas
                            </a>
                        </li>
                    </ul>	
                </div>
            </div>
            <div class="box-content box-nomargin">
                <table class='table table-striped dataTable table-bordered'>
                    <thead>
                        <tr>
                            <th width="5%"><b>No.</b></th>
                            <th width="40%"><b>Kelas</b></th>
                            <th width="30%"><b>Jurusan</b></th>
                            <th width="15%"><b>Tanggal Buat</b></th>
                            <th width="10%"></th>
                        </tr>
                    </thead>
                    <tbody>
                        {$no=1}
                        {foreach from=$rs_id item=res}
                        <tr>
                            <td style="text-align: center;">{$no++}.</td>
                            <td>{$res.kelas_nm|default:''}</td>
                            <td>{$res.jurusan_nm|default:''}</td>
                            <td style="text-align: center;">{$res.mdd|default:''}</td>
                            <td style="text-align: center;">
                                <a href="{$config->site_url('kuliah/kelas/detail')}/{$res.kelas_kd}" class='btn btn-mini btn-square tip' title="Edit Data">
                                    <img src="{$BASEURL}resource/doc/images/icon/edit-icon.png" alt="" height="15"> Detail
                                </a>
                            </td>
                        </tr>
                        {foreachelse}
                        <tr>
                            <td colspan="5">Belum ada data !</td>
                        </tr>
                        {/foreach}
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
{include file="kuliah/kelas/kelas_form_dialog.html"}